package com.test.group6.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.test.group6.domain.EnterpriseInformation;
import com.test.group6.service.EnterpriseDetailsService;
/**
 *@author chen_kai 
 *@version 1.0
 */
@RestController
@RequestMapping("/EnterpriseDetailsController")
public class EnterpriseDetailsController {
	@Autowired
	private EnterpriseDetailsService enterpriseDetailsService;
	/**
	 *@param  enterpriseId 企业编号
	 *@return {@link EnterpriseInformation}
	 */
	@RequestMapping("/queryEnterpriseInformationById")
	public EnterpriseInformation queryEnterpriseInformationById(String enterpriseId) {
		return enterpriseDetailsService.queryEnterpriseInformationById(enterpriseId);
	} 
}
